//! 观察者trait
use crate::lexer::token::Token;

pub trait Observe {
    type Context;
    fn notify_token_creation(self, tok: Token, cxt: Self::Context);
}
